package com.elite.dao;

import com.elite.entity.Goodsorder;

import java.util.List;

public interface GoodsorderMapper {
    int deleteByPrimaryKey(Integer goodsorderId);

    int insert(Goodsorder record);

    int insertSelective(Goodsorder record);

    Goodsorder selectByPrimaryKey(Integer goodsorderId);

    List<Goodsorder> selectByUserId(Integer userId);

    List<Goodsorder> selectBySellerId(Integer sellerId);

    int updateByPrimaryKeySelective(Goodsorder record);

    int updateByPrimaryKey(Goodsorder record);

    int updateStatus(Goodsorder record);
}